<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title></title>
    <link rel="stylesheet" href="__PUBLIC__/Mobile/xym/bootstrap/css/bootstrap.min.css"/>
    <link rel="stylesheet" href="__PUBLIC__/Mobile/xym/bootstrap/css/bootstrap-responsive.min.css"/>
    <link rel="stylesheet" href="__PUBLIC__/Mobile/xym/css/set.css"/>
    <link rel="stylesheet" href="__PUBLIC__/Mobile/xym/css/my_TD.css">
    <link rel="stylesheet" href="__PUBLIC__/Mobile/xym/css/font_size.css"/>
</head>
<body>

<div class="container-fluid m_out">
    <ul class="breadcrumb my_breadcrumb font15">
        <li><a href="#" class="font15"><i style="margin-right: 3px;" class="icon-home"></i>您的位置</a> <span class="divider">/</span></li>
        <li class="active font15">我的团队</li>
    </ul>

    <div class="list-div my_list_div" id="listDiv">

        <table cellspacing="0" cellpadding="0" border="1" width="100%" class="table my_add_table font15">
            <thead>
                <tr>
                    <th colspan="4" class="font16">{$myname}的团队</th>
                </tr>
            </thead>

            <tbody>
			<IF condition="$grade eq '合伙人'">
            <tr class="no_border">
                <td><div class="add_j"><a href="#a=XS1" onclick="DoMenu('XS1')" class="Select">+</a></div></td>
                <td>一级事业合伙人</td>
                <td colspan="2">(<span>{$renshu_1}</span>人)</td>
            </tr>
            <tr id="XS1" class="collapsed">
                <td colspan="4" class="my_add_td">
                    <volist name="firsts" id="first">
                        <div class="XS_DIV">
                            <ul class="clearfix">
                                <li>{$first.id}</li>
                                <li>{$first.true_name}</li>
                                <?php $num=R('Myzzy/getVipNum',array($first['id'],'合伙人'));?>
                                <li><span>{$num}</span>人</li>
                                <li><a class="xiangQ" href="{:U('Myzzy/my_TD',array('id'=>$first['id']))}">详情</a></li>
                            </ul>
                        </div>
                    </volist>
                </td>
            </tr>
			<ELSE/>
			</IF>
            <tr class="no_border">
                <td><div class="add_j"><a href="#a=XS2" onclick="DoMenu('XS2')" class="Select">+</a></div></td>
                <td>直辖一级会员</td>
                <td colspan="2">(<span>{:count($vip1)}</span>人)</td>
            </tr>
            <tr id="XS2" class="collapsed">
                <td colspan="4" class="my_add_td">
                    <volist name="vip1" id="v1">
                        <div class="XS_DIV">
                            <ul class="clearfix">
                                <li>{$v1.id}</li>
                                <li>{$v1.true_name}</li>
                                <?php $num=R('Myzzy/getVipNum',array($v1['id'],'会员'));?>
                                <li><span>{$num}</span>人</li>
                                <li><a class="xiangQ" href="{:U('Myzzy/my_TD',array('id'=>$v1['id']))}">详情</a></li>
                            </ul>
                        </div>
                    </volist>
                </td>
            </tr>
			<IF condition="$grade eq '合伙人'">
            <tr class="no_border">
                <td><div class="add_j"><a href="#a=XS3" onclick="DoMenu('XS3')" class="Select">+</a></div></td>
                <td>所辖二级事业合伙人</td>
                <td colspan="2">(<span>{$renshu_2}</span>人)</td>
            </tr>
            <tr id="XS3" class="collapsed">
                <td colspan="4" class="my_add_td">
                    <volist name="seconds" id="second">
                        <div class="XS_DIV">
                            <ul class="clearfix">
                                <li>{$second.id}</li>
                                <li>{$second.true_name}</li>
                                <?php $num=R('Myzzy/getVipNum',array($second['id'],'合伙人'));?>
                                <li><span>{$num}</span>人</li>
                                <li><a class="xiangQ" href="{:U('Myzzy/my_TD',array('id'=>$second['id']))}">详情</a></li>
                            </ul>
                        </div>
                    </volist>
                </td>
            </tr>
			<ELSE/>
			</IF>
            <tr class="no_border">
                <td><div class="add_j"><a href="#a=XS4" onclick="DoMenu('XS4')" class="Select">+</a></div></td>
                <td>直辖二级会员</td>
                <td colspan="2">(<span>{:count($vip2)}</span>人)</td>
            </tr>
            <tr id="XS4" class="collapsed">
                <td colspan="4" class="my_add_td">
                    <volist name="vip2" id="v2">
                        <div class="XS_DIV">
                            <ul class="clearfix">
                                <li>{$v2.id}</li>
                                <li>{$v2.true_name}</li>
                                <?php $num=R('Myzzy/getVipNum',array($v2['id'],'会员'));?>
                                <li><span>{$num}</span>人</li>
                                <li><a class="xiangQ" href="{:U('Myzzy/my_TD',array('id'=>$v2['id']))}">详情</a></li>
                            </ul>
                        </div>
                    </volist>
                </td>
            </tr>
			<IF condition="$grade eq '合伙人'">
            <tr class="no_border">
                <td><div class="add_j"><a href="#a=XS5" onclick="DoMenu('XS5')" class="Select">+</a></div></td>
                <td>所辖三级事业合伙人</td>
                <td colspan="2">(<span>{$renshu_3}</span>人)</td>
            </tr>
            <tr id="XS5" class="collapsed">
                <td colspan="4" class="my_add_td">
                    <volist name="thirds" id="third">
                        <div class="XS_DIV">
                            <ul class="clearfix">
                                <li>{$third.id}</li>
                                <li>{$third.true_name}</li>
                                <?php $num=R('Myzzy/getVipNum',array($third['id'],'合伙人'));?>
                                <li><span>{$num}</span>人</li>
                                <li><a class="xiangQ" href="{:U('Myzzy/my_TD',array('id'=>$third['id']))}">详情</a></li>
                            </ul>
                        </div>
                    </volist>
                </td>
            </tr>
			<ELSE/>
			</IF>
            <tr class="no_border">
                <td><div class="add_j"><a href="#a=XS6" onclick="DoMenu('XS6')" class="Select">+</a></div></td>
                <td>直辖三级会员</td>
                <td colspan="2">(<span>{:count($vip3)}</span>人)</td>
            </tr>
            <tr id="XS6" class="collapsed">
                <td colspan="4" class="my_add_td">
                    <volist name="vip3" id="v3">
                        <div class="XS_DIV">
                            <ul class="clearfix">
                                <li>{$v3.id}</li>
                                <li>{$v3.true_name}</li>
                                <?php $num=R('Myzzy/getVipNum',array($v3['id'],'会员'));?>
                                <li><span>{$num}</span>人</li>
                                <li><a class="xiangQ" href="{:U('Myzzy/my_TD',array('id'=>$v3['id']))}">详情</a></li>
                            </ul>
                        </div>
                    </volist>
                </td>
            </tr>
        </tbody>

        </table>

    </div>

</div>


</body>
<script src="__PUBLIC__/Mobile/xym/js/jquery.min.js"></script>
<script src="__PUBLIC__/Mobile/xym/bootstrap/js/bootstrap.min.js"></script>
<script src="__PUBLIC__/Mobile/xym/js/ck.js"></script>
</html>